<?php

namespace App\Models\School;

use App\Models\Sys\School;
use Illuminate\Database\Eloquent\Model;

class User extends Model
{
    protected $table = 'school_user';

    protected $primaryKey = 'id';

    const CREATED_AT = 'create_time';
    const UPDATED_AT = null;

    public function school()
    {
        return $this->belongsTo(School::class);
    }

}
